<template>
	<view class="wrapper">
		<view style="padding: 24rpx;">
			<ad-custom unit-id="adunit-aaa395b02d45af92" bindload="adLoad" binderror="adError" bindclose="adClose"></ad-custom>
		</view>
		<view class="title">
				{{ store.store_name }}附近路线导航
		</view>
		<view class="content">
			<u-parse :html="store.inner_road_guidecontent"></u-parse>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				store: {},
			}
		},
		onLoad({
			id
		}) {
			this.$u.api.getStorePage({
					id
				})
				.then((res) => {
					if (1 == res.code) {
						this.store = res.data.store
					}
				})
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.wrapper {
		padding: 24rpx;
		.title {
			text-align: center;
			font-size: 36rpx;
			font-weight: 500;
			margin: 24rpx 0;
		}
	}
</style>